import java.awt.Graphics;

public abstract class Sprite {

	protected int x;
	protected int y;
	protected int width;
	protected int height;

	public Sprite() {
		x = 0;
		y = 0;
		width = 0;
		height = 0;
	}

	public int getX() {
		return x;
	}

	public int getY() {
		return y;
	}

	public int getWidth() {
		return width;
	}

	public int getHeight() {
		return height;
	}


	public abstract void update();

	public abstract void draw(Graphics g);
}
